/// mid : "1006040177100181504"
/// isHistory : true
/// pageNum : 2
/// chatId : "10000000001313"
/// time : 1702967265715
/// nickname : "City机车"
/// msg : "塔哥。苏豪早上没出的。现在要不要博明天啊。现在差不多绿9个点"
/// pushed : false
/// type : ""
/// replyAttr : false
/// photo : "https://thirdwx.qlogo.cn/mmopen/vi_32/PiajxSqBRaEI8VnU2g8BCw0prpX08Xb732DnjiazaRNvlG5SqgFvicNtwsKdrECW70I7iap4Yc514QgvRG7tsxCQvg/132"
/// status : "read"
/// length : false
/// isManager : false
/// fromUser : "23120112511561717"
/// chatType : "group"
/// bySelf : false

class StructStockChatReply {
  StructStockChatReply({
    String? mid,
    bool? isHistory,
    num? pageNum,
    String? chatId,
    num? time,
    String? nickname,
    String? msg,
    bool? pushed,
    String? type,
    bool? replyAttr,
    String? photo,
    String? status,
    bool? length,
    bool? isManager,
    String? fromUser,
    String? chatType,
    bool? bySelf,
  }) {
    _mid = mid;
    _isHistory = isHistory;
    _pageNum = pageNum;
    _chatId = chatId;
    _time = time;
    _nickname = nickname;
    _msg = msg;
    _pushed = pushed;
    _type = type;
    _replyAttr = replyAttr;
    _photo = photo;
    _status = status;
    _length = length;
    _isManager = isManager;
    _fromUser = fromUser;
    _chatType = chatType;
    _bySelf = bySelf;
  }

  StructStockChatReply.fromJson(dynamic json) {
    _mid = json['mid'];
    _isHistory = json['isHistory'];
    _pageNum = json['pageNum'];
    _chatId = json['chatId'];
    _time = json['time'];
    _nickname = json['nickname'];
    _msg = json['msg'];
    _pushed = json['pushed'];
    _type = json['type'];
    _replyAttr = json['replyAttr'];
    _photo = json['photo'];
    _status = json['status'];
    _length = json['length'];
    _isManager = json['isManager'];
    _fromUser = json['fromUser'];
    _chatType = json['chatType'];
    _bySelf = json['bySelf'];
  }

  String? _mid;
  bool? _isHistory;
  num? _pageNum;
  String? _chatId;
  num? _time;
  String? _nickname;
  String? _msg;
  bool? _pushed;
  String? _type;
  bool? _replyAttr;
  String? _photo;
  String? _status;
  bool? _length;
  bool? _isManager;
  String? _fromUser;
  String? _chatType;
  bool? _bySelf;

  String? get mid => _mid;

  bool? get isHistory => _isHistory;

  num? get pageNum => _pageNum;

  String? get chatId => _chatId;

  num? get time => _time;

  String? get nickname => _nickname;

  String? get msg => _msg;

  bool? get pushed => _pushed;

  String? get type => _type;

  bool? get replyAttr => _replyAttr;

  String? get photo => _photo;

  String? get status => _status;

  bool? get length => _length;

  bool? get isManager => _isManager;

  String? get fromUser => _fromUser;

  String? get chatType => _chatType;

  bool? get bySelf => _bySelf;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['mid'] = _mid;
    map['isHistory'] = _isHistory;
    map['pageNum'] = _pageNum;
    map['chatId'] = _chatId;
    map['time'] = _time;
    map['nickname'] = _nickname;
    map['msg'] = _msg;
    map['pushed'] = _pushed;
    map['type'] = _type;
    map['replyAttr'] = _replyAttr;
    map['photo'] = _photo;
    map['status'] = _status;
    map['length'] = _length;
    map['isManager'] = _isManager;
    map['fromUser'] = _fromUser;
    map['chatType'] = _chatType;
    map['bySelf'] = _bySelf;
    return map;
  }
}
